Movie Control Flags
The
mcActionGetFlags
and
mcActionSetFlags
movie controller actions instruct a movie controller to get and set the movie's control flags, which are encoded into a long integer. You can use these constants to read or write the bits in that long integer:
enum {
mcFlagSuppressMovieFrame = 1 << 0,
mcFlagSuppressStepButtons = 1 << 1,
mcFlagSuppressSpeakerButton = 1 << 2,
mcFlagsUseWindowPalette = 1 << 3,
mcFlagsDontInvalidate = 1 << 4,
mcFlagsUseCustomButton = 1 << 5,
mcFlagQTVRSuppressBackBtn = 1 << 16,
mcFlagQTVRSuppressZoomBtns = 1 << 17,
mcFlagQTVRSuppressHotSpotBtn = 1 << 18,
mcFlagQTVRSuppressTranslateBtn = 1 << 19,
mcFlagQTVRSuppressHelpText = 1 << 20,
mcFlagQTVRSuppressHotSpotNames = 1 << 21
};
Constant descriptions
-
mcFlagSuppressMovieFrame
-
This flag is not supported by the QuickTime VR movie controller.
-
mcFlagSuppressStepButtons
-
This flag is not supported by the QuickTime VR movie controller.
-
mcFlagSuppressSpeakerButton
-
Controls whether the controller displays the speaker button. If this flag is set to 1, the controller does not display the speaker button. By default, this flag is set to 0.
-
mcFlagsUseWindowPalette
-
Controls whether the controller manages the palette for the window containing the movie. This ensures that a movie's colors are reproduced as accurately as possible. This flag is particularly useful for movies with custom color tables. If this flag is set to 1, the movie controller does not manage the window palette. By default, this flag is set to 0.
-
mcFlagsDontInvalidate
-
Controls whether the controller boundary rectangle is invalidated (and hence updated when an update event occurs). If this flag is set to 1, the controller does not invalidate the controller boundary rectangle. By default, this flag is set to 0.
-
mcFlagsUseCustomButton
-
Causes a button to be displayed for application-specific use. A click on this button generates an
mcActionCustomButtonClick
.
-
mcFlagQTVRSuppressBackBtn
-
Controls whether the controller displays the go-back button. If this flag is set to 1, the controller does not display the go-back button. By default, this flag is set to 0.
-
mcFlagQTVRSuppressZoomBtns
-
Controls whether the controller displays the zoom-in and zoom-out buttons. If this flag is set to 1, the controller does not display the zoom buttons. By default, this flag is set to 0.
-
mcFlagQTVRSuppressHotSpotBtn
-
Controls whether the controller displays the hot spot display button. If this flag is set to 1, the controller does not display the hot spot display button. By default, this flag is set to 0.
-
mcFlagQTVRSuppressTranslateBtn
-
Controls whether the controller displays the translate mode button. If this flag is set to 1, the controller does not display the translate mode button. By default, this flag is set to 0.
-
mcFlagQTVRSuppressHelpText
-
Controls whether the controller displays help text in the label display area. If this flag is set to 1, the controller does not display help text. By default, this flag is set to 0.
-
mcFlagQTVRSuppressHotSpotNames
-
Controls whether the controller displays hot spot names in the label display area. If this flag is set to 1, the controller does not display hot spot names. By default, this flag is set to 0.
© 1998 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top |